package com.ikproducts.manualian.server;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.Text;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
public class Content {
	
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	@PrimaryKey
	private Key key;
	
	@Persistent
	private int _ContentType;

	@Persistent
	private Text _Content;

	public Content(int type, Text text){
		set_ContentType(type);
		set_Content(text);
	}
	
	public void set_ContentType(int _ContentType) {
		this._ContentType = _ContentType;
	}

	public int get_ContentType() {
		return _ContentType;
	}

	public void set_Content(Text _Content) {
		this._Content = _Content;
	}

	public Text get_Content() {
		return _Content;
	}
	
	
/*	
	@Persistent
	private int _ContentType;
	
	@Persistent
	private Text _Content;

	public int getContentType(){
		return this._ContentType;
	}
	
	
	
	
	public void setContentType(int contentType) {
		this._ContentType = contentType;
	}
	
	public Text getContent(){
		return _Content;
	}

	public void setContent(Text content) {
		this._Content = content;
	}
*/	
}
